package com.training.log;

import org.apache.log4j.Logger;

public class Log4jTest {

	public static void main(String[] args) {
		int a =3;
		int b = 0;
		
		//Alt+Shift+Z快速try-catch
		try {
			int c = a/b;
		} catch (Exception e) {
			Logger.getLogger(Log4jTest.class).debug(e.getMessage());
			e.printStackTrace();
		}

	}

}